<%--
	fileName      : /ctpdemostd/WebContent/logmgmt/logdetail.jsp
	author        : KFZX-LVSX
	createDate    : 2014-08-22  08:43:21
	lastModifier  : KFZX-LVSX
	lastModifyDate: 2014-08-22  08:43:21
	description   : 请添加描述
--%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="ctp-tag" prefix="ctp" %>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title><ctp:label key="log_detail" /></title>
		<ctp:include items="public,borderlayout,panel,gridlayout,label,textfield,textarea" />
		<script type="text/javascript">

			var mainBorderlayout;
			var mainPanel;
			var mainGridlayout;
			var opDate_txt;
			var opTime_txt;
			var operatorName_txt;
			var operatorIp_txt;
			var opType_txt;
			var opModule_txt;
			var opItemId_txt;
			var description_ta;
			var opResult_txt;

		</script>
		<script type="text/javascript">
			function initUI(){

				opDate_txt = new ctp.ui.textfield({
					id: 'opDate_txt',
					width: '100%',
					value: '<ctp:out name="opDate" />',
					disabled: true
				});

				opTime_txt = new ctp.ui.textfield({
					id: 'opTime_txt',
					width: '100%',
					value: '<ctp:out name="opTime" />',
					disabled: true
				});

				operatorName_txt = new ctp.ui.textfield({
					id: 'operatorName_txt',
					width: '100%',
					value: '<ctp:out name="operatorName" />',
					disabled: true
				});

				operatorIp_txt = new ctp.ui.textfield({
					id: 'operatorIp_txt',
					width: '100%',
					value: '<ctp:out name="operatorIp" />',
					disabled: true
				});

				opType_txt = new ctp.ui.textfield({
					id: 'opType_txt',
					width: '100%',
					value: '<ctp:out name="opType" />',
					disabled: true
				});

				opModule_txt = new ctp.ui.textfield({
					id: 'opModule_txt',
					width: '100%',
					value: '<ctp:out name="opModule" />',
					disabled: true
				});

				opItemId_txt = new ctp.ui.textfield({
					id: 'opItemId_txt',
					width: '100%',
					value: '<ctp:out name="opItemId" />',
					disabled: true
				});

				opResult_txt = new ctp.ui.textfield({
					id: 'opResult_txt',
					width: '100%',
					value: '<ctp:out name="opResult" />',
					disabled: true
				});

				description_ta = new ctp.ui.textarea({
					id: 'description_ta',
					width: '100%',
					value: '<ctp:out name="description" />',
					rows: '5',
					disabled: true
				});

				mainGridlayout = new ctp.ui.gridlayout({
					id: 'mainGridlayout',
					width: '100%',
					cols: 2,
					defaults: {
						label: {
							width: '100px',
							textAlign: 'left'
						}
					},
					items: [
						[{
							label: {
								text: '<ctp:label key="opdate" />：'//操作日期
							}, element: opDate_txt
						}, {
							label: {
								text: '<ctp:label key="optime" />：'//操作时间
							}, element: opTime_txt
						}], [{
							label: {
								text: '<ctp:label key="operator" />：'//操作发起人
							}, element: operatorName_txt
						}, {
							label: {
								text: '<ctp:label key="operator_ip" />：'//发起者客户端IP
							}, element: operatorIp_txt
						}], [{
							label: {
								text: '<ctp:label key="optype" />：'//操作类型
							}, element: opType_txt
						}, {
							label: {
								text: '<ctp:label key="opmodule" />：'//操作模块
							}, element: opModule_txt
						}], [{
							label: {
								text: '<ctp:label key="op_item_id" />：'//操作项ID
							}, element: opItemId_txt
						}, {
							label: {
								text: '<ctp:label key="op_result" />：'//操作返回码
							}, element: opResult_txt
						}], [{
							colspan: 2,
							label: {
								text: '<ctp:label key="op_desc" />：'//操作描述
							}, element: description_ta
						}]
					]
				});

				mainPanel = new ctp.ui.panel({
					id: 'mainPanel',
					width: '100%',
					style: 'none',
					contentPadding: '10px',
					items: [mainGridlayout]
				});

				mainBorderlayout = new ctp.ui.borderlayout({
					id: 'mainBorderlayout',
					type: '1C',
					center__size: 1.0,
					center__items: [mainPanel],
					renderTo: 'body'
				});
			}
		</script>
	</head>
	<body onload="initUI();">
		
	</body>
</html>

<%--
	date        :
	modifyReason:
--%>